#include "./math_test.h"

TEST(Interpolation, linear) {

	// Arrange
	double value1 = 0.0, final_value1 = 0.0;
	double value2 = 10.0, final_value2 = 10.0;
	double value3 = 0.7, final_value3 = 0.7;

	double expected = 7.0;

	// Act
	double actual = Interpolation::Linear( value1, value2, value3 );

	// Assert
	EXPECT_EQ( value1, final_value1 );
	EXPECT_EQ( value2, final_value2 );
	EXPECT_EQ( value3, final_value3 );
	EXPECT_EQ( expected, actual );

};
